package com.ruicar.afs.cloud.workflow.feign;

import com.ruicar.afs.cloud.admin.api.dto.DeptDto;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import com.ruicar.afs.cloud.workflow.api.vo.FlowStatusVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "${com.ruicar.service-names.work-flow-server}",contextId = "workflow-service")
public interface WorkFlowServiceFeign {
    @PostMapping(value = "/flowException/queryFlowStatus")
    IResponse<List<FlowStatusVO>> queryFlowInstanceStatus(@RequestParam(name = "flowInstanceIds") String flowInstanceIds);
}
